package com.lvyq.javaprint.service;

import com.lvyq.javaprint.model.PrintData;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.io.InputStream;
import java.net.URL;

/**
 * @author lvyq
 * @version 1.0
 * Create by 2024-08-06 16:17
 */
public class HTMLPrintService implements PrintService {


    @Override
    public void print(String text, PrintData data) {

        System.out.println("HTMLPrintService文本》》》"+text);
    }

    @Override
    public void print(InputStream inputStream, PrintData data) {
        System.out.println("HTMLPrintService inputStream》》》"+inputStream);
    }

    @Override
    public void print(MultipartFile multipartFile, PrintData data) {

    }

    @Override
    public void print(File file, PrintData data) {

    }

    @Override
    public void print(URL url, PrintData data) {

    }
}
